package com.probiz.estore.content.service;

import java.io.File;
import java.io.IOException;
import java.util.List;

public interface UploadManager {
	public void processImage(File pfile, String uploadCategory)	throws IOException;
	/**
	 * 根据原path返回处理后所有图片的path
	 * @param imageUrl
	 * @return
	 */
	public List<String> getImageUrls(String imageUrl);
	
	/**
	 * 根据图片path,删除相应的图片,包括处理生成的图片
	 * @param imageUrl(/media/product/080303/07-02.jpg)
	 * @return
	 */
	public List<String> deleteImage(String imageUrl);
	public void processImageBatchJob() throws IOException;
}
